package models_live

import (
	"fmt"
	"longmen/server/pkg/db/mysql/models"
)

type LiveTicketLog struct {
	ID        int   `json:"id"`
	UID       int   `json:"uid"`
	AnchorID  int   `json:"anchor_id"`
	Liveid    int64 `json:"liveid"`
	Ticket    int   `json:"ticket"`
	CreatedAt int64 `json:"created_at"`
}

func (*LiveTicketLog) TableName() string {
	return fmt.Sprintf("%slive_ticket_log", models.Prefix)
}
